<!--
 * @Author: your name
 * @Date: 2020-09-19 10:27:07
 * @LastEditTime: 2020-09-19 11:16:30
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: /webpack-to-vite/vite-admin/src/pages/exception/404.vue
-->
<template>
  <exception-page home-route="/demo" :style="`min-height: ${minHeight}`" type="404" />
</template>

<script>
import ExceptionPage from '../components/exception/ExceptionPage'
import {mapState} from 'vuex'
export default {
  name: 'Exp404',
  components: {ExceptionPage},
  computed: {
    ...mapState('setting', ['pageMinHeight']),
    minHeight() {
      return this.pageMinHeight ? this.pageMinHeight + 'px' : '100vh'
    }
  }
}
</script>

<style scoped lang="less">
</style>
